package com.fize.pattern.n01start;

import org.junit.*;

public class MyAbstractTest {

    public MyAbstractTest() {
    }

    @BeforeClass
    public static void setUpClass() {
    }

    @AfterClass
    public static void tearDownClass() {
    }

    @Before
    public void setUp() {
    }

    @After
    public void tearDown() {
    }

    @Test
    public void testSayHello() {
        MyClass myc = new MyClass();
        myc.sayHello("陈峰展2");
    }

    @Test
    public void testGoodbye() {
        System.out.println("抽象类不能实例化，故也不能调用其里面的方法，要调用必须用其继承类。如下：");
        MyClass myc = new MyClass();
        myc.goodbye("陈峰展");
    }

}
